<form id="frmAddProductMaker" name="frmAddProductMaker" class="add-category round_border">
    <div class="chosen_category">
        Chọn danh mục sản phẩm
    </div>
    <div class="list-item-category">
        <div id="cat_1">
            <select class="w160p" id="selectcat1" size="15" onclick="AdminController.checkExistProductSubCategory('product_maker',this.value, 1);">
                <?php foreach ($aryCategory as $key => $value) {
                ?>
                    <option value="<?php echo $value['category_id']; ?>" <?php echo ($value['category_id'] == $aryParentId[0]) ? 'selected' : '';?>>&nbsp;<?php echo $value['category_name']; ?><?php echo ($value['category_total_child'] > 0 ) ? ' >' : ''; ?></option>
                <?php } ?>
            </select>
        </div>
        <div id="cat_2" class="hide">
            <select class="w160p" id="selectcat2" size="15" onclick="AdminController.checkExistProductSubCategory('product_maker', this.value, 2);">

            </select>
        </div>
        <div id="cat_3" class="hide">
            <select class="w160p" id="selectcat3" size="15" onclick="AdminController.checkExistProductSubCategory('product_maker', this.value, 3);">

            </select>
        </div>
        <div id="cat_4" class="hide">
            <select class="w160p" id="selectcat4" size="15" onclick="AdminController.checkExistProductSubCategory('product_maker', this.value, 4);">

            </select>
        </div>
        <div id="cat_5" class="hide">
            <select class="w160p" id="selectcat5" size="15" onclick="AdminController.checkExistProductSubCategory('product_maker',this.value, 5);">

            </select>
        </div>
    </div>
    <div id="product_maker_item">
        <div id="item-0">
            <span>Tên hãng sản xuất</span>
            <span><input type="text" name="product_maker_name[]" class="w150p" value="<?php echo $producMakerName;?>"></span>
            <span>Ảnh logo</span>
            <span><input type="file" name="image_logo[]" size="30"></span>
        </div>
    </div>
    <div>
        <input type="button" class="cpointer submit" onclick="AdminController.saveProductMaker('edit');" value="Cập nhật">
    </div>
    <input type="hidden" name="product_maker_id" id="product_maker_id" value="<?php echo $productMakerId;?>">
    <input type="hidden" name="category_id_hidden" id="category_id_hidden" value="<?php echo $categoryId;?>">
    <input type="hidden" name="product_maker_category_id" id="product_maker_category_id" value="<?php echo $makerCategoryId;?>">
</form>
